package com.czl.elm.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zuoleiChen
 * @since 2021-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Shop对象", description="")
public class Shop implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商铺id")
    @TableId(value = "shopid", type = IdType.AUTO)
    private Integer shopid;

    @ApiModelProperty(value = "商铺url")
    private String shopUrl;

    @ApiModelProperty(value = "商铺名称")
    private String shopName;

    @ApiModelProperty(value = "商铺类别")
    private String shopLabel;

    @ApiModelProperty(value = "商铺服务")
    private String shopSevice;

    @ApiModelProperty(value = "商铺评分")
    private Integer score;

    @ApiModelProperty(value = "商铺月售")
    private Integer number;

    @ApiModelProperty(value = "起送费")
    private Integer startCost;

    @ApiModelProperty(value = "配送费")
    private Integer distributionCost;

    @ApiModelProperty(value = "是否是品牌")
    private Integer brand;

    @ApiModelProperty(value = "开店状态")
    private Integer shopswitch;

    @JsonIgnore
    @ApiModelProperty(value = "总状态")
    private Integer enable;

    @ApiModelProperty(value = "满减")
    private String reduction;

    @TableField(exist = false)
    @ApiModelProperty(value="配送距离")
    private int dist;

    @TableField(exist = false)
    @ApiModelProperty(value="配送时间")
    private int time;

    @ApiModelProperty(value = "商店公告")
    private String shopNotice;

    @ApiModelProperty(value = "商店广告")
    private String advertisementImg;
}
